package com.motong.gongdan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.motong.gongdan.entity.LampRequestNotice;
import com.motong.gongdan.vo.system.LampRequestNotice.query.WXNoticeListQuery;
import com.motong.gongdan.vo.system.LampRequestNotice.vo.LampRequestNoticeWX;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface LampRequestNoticeMapper extends BaseMapper<LampRequestNotice> {

    List<LampRequestNotice> getListByDeviceIds(@Param("deviceIds") List<Long> deviceIds, @Param("currentDate") Date currentDate, @Param("currentUser") Integer currentUser,
                                               @Param("infoType") String infoType);


    /**
     * 获取微信通知信息
     *
     * @param param 请求参数
     */
    List<LampRequestNoticeWX> getWXNoticeList(@Param("param") WXNoticeListQuery param);

}